From 24e0a36d63a6bac1e2777b7265c8add3f7895e58 Mon Sep 17 00:00:00 2001 From: Julien Grall Date: Mon, 24 Feb 2014 12:21:54 +0100 Subject: [PATCH] vtd: don't export iommu_domain_teardown iommu_domain_teardown is only used internally in xen/drivers/passthrough/vtd/iommu.c Signed-off-by: Julien Grall Acked-by: Ian Cambell Acked-by: Jan Beulich --- xen/drivers/passthrough/vtd/iommu.c | 2 +- xen/include/xen/iommu.h | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/xen/drivers/passthrough/vtd/iommu.c b/xen/drivers/passthrough/vtd/iommu.c index 5f10034dd8..a8d33fc708 100644 --- a/xen/drivers/passthrough/vtd/iommu.c +++ b/xen/drivers/passthrough/vtd/iommu.c @@ -1701,7 +1701,7 @@ static int reassign_device_ownership( return ret; } -void iommu_domain_teardown(struct domain *d) +static void iommu_domain_teardown(struct domain *d) { struct hvm_iommu *hd = domain_hvm_iommu(d); diff --git a/xen/include/xen/iommu.h b/xen/include/xen/iommu.h index 8bb0a1d1aa..ae7e75d013 100644 --- a/xen/include/xen/iommu.h +++ b/xen/include/xen/iommu.h @@ -69,7 +69,6 @@ int iommu_map_page(struct domain *d, unsigned long gfn, unsigned long mfn, int iommu_unmap_page(struct domain *d, unsigned long gfn); void iommu_pte_flush(struct domain *d, u64 gfn, u64 *pte, int order, int present); void iommu_set_pgd(struct domain *d); -void iommu_domain_teardown(struct domain *d); void pt_pci_init(void); -- 2.30.2